optional With Default
fun optionalWithDefault(default: () -> String): ReadOnlyProperty<Any?, String>
Content copied to clipboard
Get an optional delegate with a default value.
fun optionalWithDefault(name: String, default: () -> String): ReadOnlyProperty<Any?, String>
Content copied to clipboard
Get an optional delegate with a default value for name.